package com.zhouyu.aspect;

import org.aspectj.lang.JoinPoint;
import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.aspectj.lang.annotation.DeclareParents;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@Aspect
@Component
@EnableAspectJAutoProxy
@EnableTransactionManagement
public class ZhouyuAspect {

//	@DeclareParents(value = "com.zhouyu.service.UserService", defaultImpl = UserImplement.class)
//	private UserInterface userInterface;

//	@Before("execution(public void com.zhouyu.service.UserService.test())")
//	public void zhouyuBefore(JoinPoint joinPoint) {
//		System.out.println("zhouyuBefore");
//	}


}
